package cc.chinagps.gboss.common;

import cc.chinagps.gboss.common.util.PropertiesUtil;

public final class Config {

    public interface SYS {
        int GPS_FILES_MAX_CACHE_SIZE = PropertiesUtil.getInteger("gps_files_max_cache_size", 5000);
        String GPS_SEND_URL = PropertiesUtil.getString("gps_send_url");
    }

    public interface MQ {
        String URL = PropertiesUtil.getString("mq_base_url");
        int GPS_READ_COMMIT_INTERVAL = PropertiesUtil.getInteger("mq_read_commit_interval", 3000);
        int GPS_READ_BATCH_SIZE = PropertiesUtil.getInteger("mq_batch_size_read", 500);
        String GPS_NAME = "gps";
    }

}
